diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-12-20 21:10:47 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-12-20 21:10:47 +0200 |
| commit | 5ebb5cea738fdd2dcb057259c4235ccaa8d2cd15 (patch) | |
| tree | 927cf7a344f686db3cf01998e2a9d3366ee68e0d /templates/etc_jail.conf.d_[jailname].conf.j2 | |
| parent | 1c90ac78adc7f7b6b45be9d47f70ee3591c45454 (diff) | |
Move goaccess to own jail
Diffstat (limited to 'templates/etc_jail.conf.d_[jailname].conf.j2')
| -rw-r--r-- | templates/etc_jail.conf.d_[jailname].conf.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/etc_jail.conf.d_[jailname].conf.j2 b/templates/etc_jail.conf.d_[jailname].conf.j2 index 3e11e4f..4c0bbc4 100644 --- a/templates/etc_jail.conf.d_[jailname].conf.j2 +++ b/templates/etc_jail.conf.d_[jailname].conf.j2 @@ -27,6 +27,8 @@ {% for ing in jails -%} {% if ing.name == "ingress" -%} exec.poststart += "jexec ${name} route add default 192.168.2.{{ ing.num }} || echo 'Failed to add default route'"; + exec.poststart += "jexec ${name} route add 10.6.210.0/24 192.168.0.1 || echo 'Failed to add Wireguard return route'"; + exec.poststart += "mount -t nullfs /usr/local/jails/containers/goaccess/var/www/goaccess /usr/local/jails/containers/ingress/mnt/www_goaccess" {% endif %} {% endfor %} {% else %} |
